package com.example.my.meila.entity;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Generated;

/**
 * Created by My on 2016/11/1.
 */
@Entity
public class User {
    @Id(autoincrement = true)
    private Long id;

    private String phone;
    private String psw;
    public String getPsw() {
        return this.psw;
    }
    public void setPsw(String psw) {
        this.psw = psw;
    }
    public String getPhone() {
        return this.phone;
    }
    public void setPhone(String phone) {
        this.phone = phone;
    }
    public Long getId() {
        return this.id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    @Generated(hash = 40966439)
    public User(Long id, String phone, String psw) {
        this.id = id;
        this.phone = phone;
        this.psw = psw;
    }
    @Generated(hash = 586692638)
    public User() {
    }
 


}
